// src/hooks/useMessage.ts
import { getCurrentInstance } from 'vue'

export function useMessage() {
    const { proxy } = getCurrentInstance()!

    return {
        message: proxy!.$message
    }
}
